<template>
  <div class="box">
    <v-button @click="goHome" type="primary" size="large" text="返回首页"></v-button>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from 'vue-router'
let $router = useRouter()
const goHome = () => {
  $router.push('/home')
}
</script>

<style scoped lang="scss">
.box {
  width: 100vw;
  height: 100vh;
  background: url("@/assets/images/404.jpg") no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;

  .v-button-container{
    margin-right: 0;
    margin-top: -14vh;
  }
}
</style>
